.PHONY: all
all:CalServer CalClient
CalServer:CalServer.cc 
	g++ -o $@ $^ -std=c++11 -ljsoncpp -lpthread
CalClient:CalClient.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp
.PHONY:clean
clean:
	rm -rf CalClient CalServer